package com.yyl.rbacs.annotation;

import java.lang.annotation.*;

/**
 * @BelongsProject: rbacs
 * @BelongsPackage: com.yyl.rbacs.annotation
 * @Author: YuanSir
 * @CreateTime: 2022-11-02  09:49
 * @Description:
 * @Version: 1.0
 */


@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface DataFilter {

    //用于设置数据权限过滤的字段名称
    String dataField() default "dept_id";

}
